#! /usr/bin/python3
# coding=utf-8
# @time: 2025/10/31 11:21
# @Author:鹤川
from common.doFile import myLogger
from pages.basePage import BasePage
from pages.JiaZiPage import JiaZiPage
from pages.myInfoPage import MyInfoPage


class IndexPage(BasePage):
    def go_to_voicePage(self):
        # 留声
        self.clickEle("com.kkpodcast:id/sound_record_rb")
        myLogger.info("去到《留声页面》")
        return JiaZiPage(self.poco)

    def go_to_myInfoPage(self):
        self.clickEle("com.kkpodcast:id/mine_rb")
        myLogger.info("去到《我的页面》")
        return MyInfoPage(self.poco)










